package com.homedo.odin.solution.model.base;

public class MReturn<T> {

    private Boolean isOK;
    private String message;
    private int code;
    private T value;

    public MReturn() {

    }

    public MReturn(Boolean isOk, String message, int code, T value) {
        this.isOK = isOk;
        this.message = message;
        this.code = code;
        this.value = value;
    }

    public Boolean getIsOK() {
        return isOK;
    }

    public void setIsOK(Boolean isOK) {
        this.isOK = isOK;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }
}
